
ClassLoader:                                                                                                           
+-sun.misc.Launcher$AppClassLoader@18b4aac2                                                                            
  +-sun.misc.Launcher$ExtClassLoader@11f20ba0                                                                          

Location:                                                                                                              
/E:/mvnRep/com/alibaba/dubbo/2.6.8/dubbo-2.6.8.jar                                                                     

/*
 * Decompiled with CFR.
 * 
 * Could not load the following classes:
 *  org.pangu.service.impl.ProductServiceImpl
 */
package com.alibaba.dubbo.common.bytecode;

import com.alibaba.dubbo.common.bytecode.ClassGenerator;
import com.alibaba.dubbo.common.bytecode.NoSuchMethodException;
import com.alibaba.dubbo.common.bytecode.NoSuchPropertyException;
import com.alibaba.dubbo.common.bytecode.Wrapper;
import java.lang.reflect.InvocationTargetException;
import java.util.Map;
import org.pangu.dto.ProductDTO;
import org.pangu.service.impl.ProductServiceImpl;

public class Wrapper3
extends Wrapper
implements ClassGenerator.DC {
    public static String[] pns;
    public static Map pts;
    public static String[] mns;
    public static String[] dmns;
    public static Class[] mts0;
    public static Class[] mts1;
    public static Class[] mts2;

    @Override
    public String[] getPropertyNames() {
        return pns;
    }

    @Override
    public boolean hasProperty(String string) {
        return pts.containsKey(string);
    }

    public Class getPropertyType(String string) {
        return (Class)pts.get(string);
    }

    @Override
    public String[] getMethodNames() {
        return mns;
    }

    @Override
    public String[] getDeclaredMethodNames() {
        return dmns;
    }

    @Override
    public void setPropertyValue(Object object, String string, Object object2) {
        try {
            ProductServiceImpl productServiceImpl = (ProductServiceImpl)object;
        }
        catch (Throwable throwable) {
            throw new IllegalArgumentException(throwable);
        }
        throw new NoSuchPropertyException(new StringBuffer().append("Not found property \"").append(string).append("\" filed or setter method in class org.pangu.service.impl.ProductServiceImpl.").toString());
    }

    @Override
    public Object getPropertyValue(Object object, String string) {
        try {
            ProductServiceImpl productServiceImpl = (ProductServiceImpl)object;
        }
        catch (Throwable throwable) {
            throw new IllegalArgumentException(throwable);
        }
        throw new NoSuchPropertyException(new StringBuffer().append("Not found property \"").append(string).append("\" filed or setter method in class org.pangu.service.impl.ProductServiceImpl.").toString());
    }

    public Object invokeMethod(Object object, String string, Class[] classArray, Object[] objectArray) throws InvocationTargetException {
        ProductServiceImpl productServiceImpl;
        try {
            productServiceImpl = (ProductServiceImpl)object;
        }
        catch (Throwable throwable) {
            throw new IllegalArgumentException(throwable);
        }
        try {
            if ("findProduct".equals(string) && classArray.length == 1 && classArray[0].getName().equals("org.pangu.dto.ProductDTO")) {
                return productServiceImpl.findProduct((ProductDTO)objectArray[0]);
            }
            if ("findProduct".equals(string) && classArray.length == 1 && classArray[0].getName().equals("java.lang.String")) {
                return productServiceImpl.findProduct((String)objectArray[0]);
            }
            if ("selectProduct".equals(string) && classArray.length == 1) {
                return productServiceImpl.selectProduct((ProductDTO)objectArray[0]);
            }
        }
        catch (Throwable throwable) {
            throw new InvocationTargetException(throwable);
        }
        throw new NoSuchMethodException(new StringBuffer().append("Not found method \"").append(string).append("\" in class org.pangu.service.impl.ProductServiceImpl.").toString());
    }
}

Affect(row-cnt:1) cost in 406 ms.
